home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple WWDC 1996
/
WWDC96_1996 (CD).toast
/
Technology Materials
/
MacOS 8 Resources
/
Developer Tools
/
Mac OS 8 Interfaces & Libraries
/
Interfaces
/
CIncludes
/
HIEmbeddingPanels.xh
< prev
next >
Wrap
Text File
|
1996-05-01
|
76KB
|
2,467 lines
/*
* This file was generated by the SOM Compiler.
* FileName: HIEmbeddingPanels.xh.
* Generated using:
* SOM Precompiler somipc: 2.18
* SOM Emitter emitxh.dll: 2.33
*/
#ifndef SOM_HIEmbeddingPanel_xh
#define SOM_HIEmbeddingPanel_xh
class HIEmbeddingPanel;
#define HIEmbeddingPanel_MajorVersion 0
#define HIEmbeddingPanel_MinorVersion 0
/*
* Passthru lines: File: "C.xh", "before"
*/
#include <HIEmbeddingPanelTypes.h>
/* C++ SOM defs */
#include <somcls.xh>
#include <somcm.xh>
/* C++ parent defs */
#ifndef SOM_HIPanel_xh
#include <HIPanels.xh>
#endif
#ifndef HIEmbeddingPanel_API
#define HIEmbeddingPanel_API
/*
* -- The Class API
*/
/*
* Start of user-defined types:
*/
class SOMClass;
class SOMObject;
class HIWindow;
class HIEmbeddingPanel;
/*
* End of user-defined types.
*/
#ifdef OLDIBMSOMAPISUPPORT
#define HIEmbeddingPanelCClassData HIEmbeddingPanelClassData
#define HIEmbeddingPanelNewClass(major,minor) somNewVersionedClassReference(HIEmbeddingPanel,major,minor)
#endif
/* define xxxMetaClass macro to facilitate (cls ## MetaClass) */
#define HIEmbeddingPanelMetaClass SOMClass
#if PRAGMA_ALIGN_SUPPORTED
# pragma options align=power
#endif
/* The API to the HIEmbeddingPanel class object, and the methods it introduces. */
SOMEXTERN struct HIEmbeddingPanelClassDataStructure {
#ifdef OLDIBMSOMAPISUPPORT
SOMClass *classObject; /* always zero, use somNewClassReference instead */
#else
long zero;
#endif
somStaticClassInfo *sci;
somDToken instanceDataToken;
long reserved [3];
somMToken GetSubPanelCount;
somMToken GetUserInputFocusSubPanel;
somMToken GetLastSelectedSubPanel;
somMToken InitEmbeddingPanel;
somMToken AddSubPanel;
somMToken RemoveSubPanel;
somMToken GetSubPanel;
somMToken SetUserInputFocusSubPanel;
somMToken GetSubPanelIndex;
somMToken GetSubPanelsFromRefLabel;
} SOMDLINK HIEmbeddingPanelClassData;
#if PRAGMA_ALIGN_SUPPORTED
# pragma options align=reset
#endif
#if !defined(HIEmbeddingPanel_Class_Source) && !defined(SOM_Module_hiembeddingpanels_Source)
#if PRAGMA_IMPORT_SUPPORTED
#pragma import list HIEmbeddingPanelClassData
#endif
#endif
/*
* -- Typedefs for HIEmbeddingPanel Method Procedures
*/
SOMEXTERN {
typedef ItemCount (* SOMLINK somTD_HIEmbeddingPanel_GetSubPanelCount)(HIEmbeddingPanel *somSelf, Environment *ev);
typedef HIPanel* (* SOMLINK somTD_HIEmbeddingPanel_GetLastSelectedSubPanel)(HIEmbeddingPanel *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIEmbeddingPanel_InitEmbeddingPanel)(HIEmbeddingPanel *somSelf, Environment *ev,
RefLabel* identifier,
HIWindow* window,
Rect* bounds);
typedef OSStatus (* SOMLINK somTD_HIEmbeddingPanel_AddSubPanel)(HIEmbeddingPanel *somSelf, Environment *ev,
HIPanel* subPanel,
HISubPanelIndex where,
HIAdoptionFlags adoptionFlags,
HIFrameBindingFlags frameBindingFlags);
typedef OSStatus (* SOMLINK somTD_HIEmbeddingPanel_RemoveSubPanel)(HIEmbeddingPanel *somSelf, Environment *ev,
HIPanel* subPanel);
typedef HIPanel* (* SOMLINK somTD_HIEmbeddingPanel_GetSubPanel)(HIEmbeddingPanel *somSelf, Environment *ev,
HISubPanelIndex subPanelIndex);
typedef HIPanel* (* SOMLINK somTD_HIEmbeddingPanel_GetUserInputFocusSubPanel)(HIEmbeddingPanel *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIEmbeddingPanel_SetUserInputFocusSubPanel)(HIEmbeddingPanel *somSelf, Environment *ev,
HIPanel* subPanel);
typedef HISubPanelIndex (* SOMLINK somTD_HIEmbeddingPanel_GetSubPanelIndex)(HIEmbeddingPanel *somSelf, Environment *ev,
HIPanel* subPanel);
typedef OSStatus (* SOMLINK somTD_HIEmbeddingPanel_GetSubPanelsFromRefLabel)(HIEmbeddingPanel *somSelf, Environment *ev,
RefLabel* identifier,
boolean deep,
ItemCount requestedSubPanels,
ItemCount* totalSubPanels,
HIPanel** thePanels);
/*
* -- Typedefs for Inherited Methods
*/
typedef HIEmbeddingPanel* (* SOMLINK somTD_HIEmbeddingPanel_GetEmbeddingParent)(HIEmbeddingPanel *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIEmbeddingPanel_InitPanel)(HIEmbeddingPanel *somSelf, Environment *ev,
RefLabel* identifier,
HIWindow* window,
Rect* bounds);
typedef OSStatus (* SOMLINK somTD_HIEmbeddingPanel_RegisterInterestInAppleEvent)(HIEmbeddingPanel *somSelf, Environment *ev,
AEHandlerTableRef table,
AEEventClass eventClass,
AEEventID eventID,
HIEventRoutingType eventRouting);
typedef boolean (* SOMLINK somTD_HIEmbeddingPanel_HasValidContent)(HIEmbeddingPanel *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIEmbeddingPanel_GetDeepCollectionItemData)(HIEmbeddingPanel *somSelf, Environment *ev,
CollectionTag tag,
SInt32 id,
ByteCount sizeAllowed,
ByteCount* sizeReturned,
void* itemData);
typedef HIWindow* (* SOMLINK somTD_HIEmbeddingPanel_GetWindow)(HIEmbeddingPanel *somSelf, Environment *ev);
typedef CGrafPtr (* SOMLINK somTD_HIEmbeddingPanel_GetPort)(HIEmbeddingPanel *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIEmbeddingPanel_GetRefLabel)(HIEmbeddingPanel *somSelf, Environment *ev,
RefLabel* identifier);
typedef Collection (* SOMLINK somTD_HIEmbeddingPanel_GetCollection)(HIEmbeddingPanel *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIEmbeddingPanel_Init)(HIEmbeddingPanel *somSelf, Environment *ev,
RefLabel* identifier,
Rect* boundingRect);
typedef void (* SOMLINK somTD_HIEmbeddingPanel_Terminate)(HIEmbeddingPanel *somSelf, Environment *ev);
typedef HIObject* (* SOMLINK somTD_HIEmbeddingPanel_Clone)(HIEmbeddingPanel *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIEmbeddingPanel_Release)(HIEmbeddingPanel *somSelf, Environment *ev);
typedef ItemCount (* SOMLINK somTD_HIEmbeddingPanel_GetOwnerCount)(HIEmbeddingPanel *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIEmbeddingPanel_InitFromAERecord)(HIEmbeddingPanel *somSelf, Environment *ev,
AESubDesc* baseInitializerData,
AESubDesc* initializerDataForClass,
HIAERecordDataFormat dataFormat);
typedef OSStatus (* SOMLINK somTD_HIEmbeddingPanel_WriteToAERecord)(HIEmbeddingPanel *somSelf, Environment *ev,
AERecord* dataForSubclass,
AERecord* objectData,
HIAERecordDataFormat dataFormat);
typedef void (* SOMLINK somTD_HIEmbeddingPanel_CalculateOptimalSize)(HIEmbeddingPanel *somSelf, Environment *ev,
SInt16* optimalWidth,
SInt16* optimalHeight);
typedef void (* SOMLINK somTD_HIEmbeddingPanel_GetBoundingRect)(HIEmbeddingPanel *somSelf, Environment *ev,
HICoordinateSystem coordinate,
Rect* boundingRect);
typedef void (* SOMLINK somTD_HIEmbeddingPanel_SetBoundingRect)(HIEmbeddingPanel *somSelf, Environment *ev,
HICoordinateSystem coordinate,
Rect* newBoundingRect);
typedef void (* SOMLINK somTD_HIEmbeddingPanel_SetPosition)(HIEmbeddingPanel *somSelf, Environment *ev,
HICoordinateSystem coordinate,
Point* newPosition);
typedef void (* SOMLINK somTD_HIEmbeddingPanel_SetSize)(HIEmbeddingPanel *somSelf, Environment *ev,
SInt16 width,
SInt16 height);
typedef void (* SOMLINK somTD_HIEmbeddingPanel_GetUpdateRect)(HIEmbeddingPanel *somSelf, Environment *ev,
HICoordinateSystem coordinate,
Rect* updateRect);
typedef void (* SOMLINK somTD_HIEmbeddingPanel_Enable)(HIEmbeddingPanel *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIEmbeddingPanel_Disable)(HIEmbeddingPanel *somSelf, Environment *ev);
typedef boolean (* SOMLINK somTD_HIEmbeddingPanel_IsEnabled)(HIEmbeddingPanel *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIEmbeddingPanel_Show)(HIEmbeddingPanel *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIEmbeddingPanel_Hide)(HIEmbeddingPanel *somSelf, Environment *ev);
typedef boolean (* SOMLINK somTD_HIEmbeddingPanel_IsVisible)(HIEmbeddingPanel *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIEmbeddingPanel_HandleAppleEvent)(HIEmbeddingPanel *somSelf, Environment *ev,
AEEventClass eventClass,
AEEventID eventID,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIEmbeddingPanel_HandleActivate)(HIEmbeddingPanel *somSelf, Environment *ev,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIEmbeddingPanel_HandleDeactivate)(HIEmbeddingPanel *somSelf, Environment *ev,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIEmbeddingPanel_HandleNavigation)(HIEmbeddingPanel *somSelf, Environment *ev,
SInt8 key,
SInt8 keyCode,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIEmbeddingPanel_HandleMouseDownInContent)(HIEmbeddingPanel *somSelf, Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIEmbeddingPanel_HandleMouseMovedInContent)(HIEmbeddingPanel *somSelf, Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIEmbeddingPanel_HandleMouseStoppedMovingInContent)(HIEmbeddingPanel *somSelf, Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIEmbeddingPanel_HandleMouseUpInContent)(HIEmbeddingPanel *somSelf, Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef void (* SOMLINK somTD_HIEmbeddingPanel_TakeUserInputFocus)(HIEmbeddingPanel *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIEmbeddingPanel_ReleaseUserInputFocus)(HIEmbeddingPanel *somSelf, Environment *ev);
typedef boolean (* SOMLINK somTD_HIEmbeddingPanel_HasUserInputFocus)(HIEmbeddingPanel *somSelf, Environment *ev);
typedef boolean (* SOMLINK somTD_HIEmbeddingPanel_CanReleaseUserInputFocus)(HIEmbeddingPanel *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIEmbeddingPanel_SetUserInputFocusFlags)(HIEmbeddingPanel *somSelf, Environment *ev,
HIUserInputFocusFlags flags);
typedef HIUserInputFocusFlags (* SOMLINK somTD_HIEmbeddingPanel_GetUserInputFocusFlags)(HIEmbeddingPanel *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIEmbeddingPanel_SetTitle)(HIEmbeddingPanel *somSelf, Environment *ev,
ConstHIImageRef title,
HIAdoptionFlags disposalAdoptionFlags);
typedef OSStatus (* SOMLINK somTD_HIEmbeddingPanel_GetTitle)(HIEmbeddingPanel *somSelf, Environment *ev,
HIImageRef* title);
typedef void (* SOMLINK somTD_HIEmbeddingPanel_Draw)(HIEmbeddingPanel *somSelf, Environment *ev,
CGrafPtr whichPort,
RgnHandle drawRgn);
typedef void (* SOMLINK somTD_HIEmbeddingPanel_Erase)(HIEmbeddingPanel *somSelf, Environment *ev,
CGrafPtr whichPort,
RgnHandle eraseRgn);
typedef void (* SOMLINK somTD_HIEmbeddingPanel_Invalidate)(HIEmbeddingPanel *somSelf, Environment *ev);
typedef HIDrawingMode (* SOMLINK somTD_HIEmbeddingPanel_GetDrawingMode)(HIEmbeddingPanel *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIEmbeddingPanel_SetDrawingMode)(HIEmbeddingPanel *somSelf, Environment *ev,
HIDrawingMode drawingMode);
typedef void (* SOMLINK somTD_HIEmbeddingPanel_SetBackgroundPattern)(HIEmbeddingPanel *somSelf, Environment *ev,
PixPatHandle backgroundPattern);
typedef PixPatHandle (* SOMLINK somTD_HIEmbeddingPanel_GetBackgroundPattern)(HIEmbeddingPanel *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIEmbeddingPanel_Cut)(HIEmbeddingPanel *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIEmbeddingPanel_Copy)(HIEmbeddingPanel *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIEmbeddingPanel_Paste)(HIEmbeddingPanel *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIEmbeddingPanel_Clear)(HIEmbeddingPanel *somSelf, Environment *ev);
typedef HIClipboardSupportFlags (* SOMLINK somTD_HIEmbeddingPanel_GetClipboardSupportFlags)(HIEmbeddingPanel *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIEmbeddingPanel_AddStateChangeCallback)(HIEmbeddingPanel *somSelf, Environment *ev,
HIStateChangeCallbackProcPtr changedStateCallback,
HIStateChangeCallbackRef* newCallbackRef);
typedef OSStatus (* SOMLINK somTD_HIEmbeddingPanel_RemoveStateChangeCallback)(HIEmbeddingPanel *somSelf, Environment *ev,
HIStateChangeCallbackRef callbackRefToRemove);
typedef OSStatus (* SOMLINK somTD_HIEmbeddingPanel_GetHIObjectFromRefLabel)(Environment *ev,
RefLabel* identifier,
ItemCount requestedObjects,
ItemCount* totalObjects,
HIObject** theObjects);
typedef OSStatus (* SOMLINK somTD_HIEmbeddingPanel_GetNewHIObject)(Environment *ev,
AESubDesc* objectInitializer,
HIObject** newObject);
typedef OSStatus (* SOMLINK somTD_HIEmbeddingPanel_GetNewHIObjectFromResource)(Environment *ev,
ResID objectInitializerResourceID,
HIObject** newObject);
typedef void (* SOMLINK somTD_HIEmbeddingPanel_DrawContent)(HIEmbeddingPanel *somSelf, Environment *ev,
CGrafPtr whichPort,
RgnHandle drawRgn);
typedef void (* SOMLINK somTD_HIEmbeddingPanel_EraseContent)(HIEmbeddingPanel *somSelf, Environment *ev,
CGrafPtr whichPort,
RgnHandle regionToErase);
typedef void (* SOMLINK somTD_HIEmbeddingPanel_TranslatePoint)(HIEmbeddingPanel *somSelf, Environment *ev,
HICoordinateSystem translateFrom,
HICoordinateSystem translateTo,
Point* sourcePoint,
Point* translatedPoint);
typedef void (* SOMLINK somTD_HIEmbeddingPanel_TranslateRect)(HIEmbeddingPanel *somSelf, Environment *ev,
HICoordinateSystem translateFrom,
HICoordinateSystem translateTo,
Rect* sourceRect,
Rect* translatedRect);
typedef void (* SOMLINK somTD_HIEmbeddingPanel_StateChanged)(HIEmbeddingPanel *somSelf, Environment *ev,
HIStateChangeCodeCreator selectorCreator,
HIStateChangeCode changedCode);
typedef void (* SOMLINK somTD_HIEmbeddingPanel_SetClipboardSupportFlags)(HIEmbeddingPanel *somSelf, Environment *ev,
HIClipboardSupportFlags flags);
typedef OSStatus (* SOMLINK somTD_HIEmbeddingPanel_Verify)(HIEmbeddingPanel *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIEmbeddingPanel_somInit)(HIEmbeddingPanel *somSelf);
typedef void (* SOMLINK somTD_HIEmbeddingPanel_somUninit)(HIEmbeddingPanel *somSelf);
typedef SOMObject* (* SOMLINK somTD_HIEmbeddingPanel_somDuplicateReference)(HIEmbeddingPanel *somSelf);
typedef boolean (* SOMLINK somTD_HIEmbeddingPanel_somCompareReference)(HIEmbeddingPanel *somSelf,
SOMObject* anObject);
typedef SOMObject* (* SOMLINK somTD_HIEmbeddingPanel_somRelease)(HIEmbeddingPanel *somSelf);
typedef void (* SOMLINK somTD_HIEmbeddingPanel_somFree)(HIEmbeddingPanel *somSelf);
typedef boolean (* SOMLINK somTD_HIEmbeddingPanel_somCanDelete)(HIEmbeddingPanel *somSelf);
typedef SOMClass* (* SOMLINK somTD_HIEmbeddingPanel_somGetClass)(HIEmbeddingPanel *somSelf);
typedef corbastring (* SOMLINK somTD_HIEmbeddingPanel_somGetClassName)(HIEmbeddingPanel *somSelf);
typedef long (* SOMLINK somTD_HIEmbeddingPanel_somGetSize)(HIEmbeddingPanel *somSelf);
typedef boolean (* SOMLINK somTD_HIEmbeddingPanel_somIsA)(HIEmbeddingPanel *somSelf,
SOMClass* aClassObj);
typedef boolean (* SOMLINK somTD_HIEmbeddingPanel_somRespondsTo)(HIEmbeddingPanel *somSelf,
somId mId);
typedef boolean (* SOMLINK somTD_HIEmbeddingPanel_somIsInstanceOf)(HIEmbeddingPanel *somSelf,
SOMClass* aClassObj);
typedef boolean (* SOMLINK somTD_HIEmbeddingPanel_somDispatch)(HIEmbeddingPanel *somSelf,
somToken* retValue,
somId methodId,
va_list ap);
typedef boolean (* SOMLINK somTD_HIEmbeddingPanel_somClassDispatch)(HIEmbeddingPanel *somSelf,
SOMClass* clsObj,
somToken* retValue,
somId methodId,
va_list ap);
typedef boolean (* SOMLINK somTD_HIEmbeddingPanel_somCastObj)(HIEmbeddingPanel *somSelf,
SOMClass* cls);
typedef boolean (* SOMLINK somTD_HIEmbeddingPanel_somResetObj)(HIEmbeddingPanel *somSelf);
typedef SOMObject* (* SOMLINK somTD_HIEmbeddingPanel_somPrintSelf)(HIEmbeddingPanel *somSelf);
typedef void (* SOMLINK somTD_HIEmbeddingPanel_somDumpSelf)(HIEmbeddingPanel *somSelf,
long level);
typedef void (* SOMLINK somTD_HIEmbeddingPanel_somDumpSelfInt)(HIEmbeddingPanel *somSelf,
long level);
}
#endif /* HIEmbeddingPanel_API */
/*
* -- This emitter treats Method Tokens as Thunks by default.
* -- Use the sc modifier "nothunks" to change this default
*/
#undef somresolve_
#define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
/*
* -- The C++ Wrapper Class for HIEmbeddingPanel
*/
class HIEmbeddingPanel : public HIPanel
{
public:
// HIEmbeddingPanel::new registers use of the class object, and then uses somNew
// to allocate memory and load the object method table pointer.
void *operator new(size_t size)
{
SOM_IgnoreWarning(size);
// Allocate memory using the default allocator for HIEmbeddingPanel, and
// clear mem & set method table pointer, call basic initialization
return (void*) somNewObject(HIEmbeddingPanel);
}
// HIEmbeddingPanel::delete uses the default deallocator for the object's class.
void operator delete(void * obj)
{
if (obj) {
SOM_Resolve(obj,SOMObject,somFree)
( (SOMObject*) obj );
}
}
/* method: GetSubPanelCount */
ItemCount GetSubPanelCount(Environment *ev)
{
return SOM_ResolveD(this,HIEmbeddingPanel,HIEmbeddingPanel,GetSubPanelCount)
(this,ev);
}
/* method: GetLastSelectedSubPanel */
HIPanel* GetLastSelectedSubPanel(Environment *ev)
{
return SOM_ResolveD(this,HIEmbeddingPanel,HIEmbeddingPanel,GetLastSelectedSubPanel)
(this,ev);
}
/* method: InitEmbeddingPanel */
OSStatus InitEmbeddingPanel(Environment *ev,
RefLabel* identifier,
HIWindow* window,
Rect* bounds)
{
return SOM_ResolveD(this,HIEmbeddingPanel,HIEmbeddingPanel,InitEmbeddingPanel)
(this,ev,identifier,window,bounds);
}
/* method: AddSubPanel */
OSStatus AddSubPanel(Environment *ev,
HIPanel* subPanel,
HISubPanelIndex where,
HIAdoptionFlags adoptionFlags,
HIFrameBindingFlags frameBindingFlags)
{
return SOM_ResolveD(this,HIEmbeddingPanel,HIEmbeddingPanel,AddSubPanel)
(this,ev,subPanel,where,adoptionFlags,frameBindingFlags);
}
/* method: RemoveSubPanel */
OSStatus RemoveSubPanel(Environment *ev,
HIPanel* subPanel)
{
return SOM_ResolveD(this,HIEmbeddingPanel,HIEmbeddingPanel,RemoveSubPanel)
(this,ev,subPanel);
}
/* method: GetSubPanel */
HIPanel* GetSubPanel(Environment *ev,
HISubPanelIndex subPanelIndex)
{
return SOM_ResolveD(this,HIEmbeddingPanel,HIEmbeddingPanel,GetSubPanel)
(this,ev,subPanelIndex);
}
/* method: GetUserInputFocusSubPanel */
HIPanel* GetUserInputFocusSubPanel(Environment *ev)
{
return SOM_ResolveD(this,HIEmbeddingPanel,HIEmbeddingPanel,GetUserInputFocusSubPanel)
(this,ev);
}
/* method: SetUserInputFocusSubPanel */
OSStatus SetUserInputFocusSubPanel(Environment *ev,
HIPanel* subPanel)
{
return SOM_ResolveD(this,HIEmbeddingPanel,HIEmbeddingPanel,SetUserInputFocusSubPanel)
(this,ev,subPanel);
}
/* method: GetSubPanelIndex */
HISubPanelIndex GetSubPanelIndex(Environment *ev,
HIPanel* subPanel)
{
return SOM_ResolveD(this,HIEmbeddingPanel,HIEmbeddingPanel,GetSubPanelIndex)
(this,ev,subPanel);
}
/* method: GetSubPanelsFromRefLabel */
OSStatus GetSubPanelsFromRefLabel(Environment *ev,
RefLabel* identifier,
boolean deep,
ItemCount requestedSubPanels,
ItemCount* totalSubPanels,
HIPanel** thePanels)
{
return SOM_ResolveD(this,HIEmbeddingPanel,HIEmbeddingPanel,GetSubPanelsFromRefLabel)
(this,ev,identifier,deep,requestedSubPanels,totalSubPanels,thePanels);
}
/*
* -- Inherited methods
*/
/* method: GetEmbeddingParent */
HIEmbeddingPanel* GetEmbeddingParent(Environment *ev)
{
return SOM_ResolveD(this,HIEmbeddingPanel,HIPanel,GetEmbeddingParent)
(this,ev);
}
/* method: InitPanel */
OSStatus InitPanel(Environment *ev,
RefLabel* identifier,
HIWindow* window,
Rect* bounds)
{
return SOM_ResolveD(this,HIEmbeddingPanel,HIPanel,InitPanel)
(this,ev,identifier,window,bounds);
}
/* method: RegisterInterestInAppleEvent */
OSStatus RegisterInterestInAppleEvent(Environment *ev,
AEHandlerTableRef table,
AEEventClass eventClass,
AEEventID eventID,
HIEventRoutingType eventRouting)
{
return SOM_ResolveD(this,HIEmbeddingPanel,HIPanel,RegisterInterestInAppleEvent)
(this,ev,table,eventClass,eventID,eventRouting);
}
/* method: HasValidContent */
boolean HasValidContent(Environment *ev)
{
return SOM_ResolveD(this,HIEmbeddingPanel,HIPanel,HasValidContent)
(this,ev);
}
/* method: GetDeepCollectionItemData */
OSStatus GetDeepCollectionItemData(Environment *ev,
CollectionTag tag,
SInt32 id,
ByteCount sizeAllowed,
ByteCount* sizeReturned,
void* itemData)
{
return SOM_ResolveD(this,HIEmbeddingPanel,HIPanel,GetDeepCollectionItemData)
(this,ev,tag,id,sizeAllowed,sizeReturned,itemData);
}
/* method: GetWindow */
HIWindow* GetWindow(Environment *ev)
{
return SOM_ResolveD(this,HIEmbeddingPanel,HIObject,GetWindow)
(this,ev);
}
/* method: GetPort */
CGrafPtr GetPort(Environment *ev)
{
return SOM_ResolveD(this,HIEmbeddingPanel,HIObject,GetPort)
(this,ev);
}
/* method: GetRefLabel */
void GetRefLabel(Environment *ev,
RefLabel* identifier)
{
SOM_ResolveD(this,HIEmbeddingPanel,HIObject,GetRefLabel)
(this,ev,identifier);
}
/* method: GetCollection */
Collection GetCollection(Environment *ev)
{
return SOM_ResolveD(this,HIEmbeddingPanel,HIObject,GetCollection)
(this,ev);
}
/* method: Init */
OSStatus Init(Environment *ev,
RefLabel* identifier,
Rect* boundingRect)
{
return SOM_ResolveD(this,HIEmbeddingPanel,HIObject,Init)
(this,ev,identifier,boundingRect);
}
/* method: Terminate */
void Terminate(Environment *ev)
{
SOM_ResolveD(this,HIEmbeddingPanel,HIObject,Terminate)
(this,ev);
}
/* method: Clone */
HIObject* Clone(Environment *ev)
{
return SOM_ResolveD(this,HIEmbeddingPanel,HIObject,Clone)
(this,ev);
}
/* method: Release */
void Release(Environment *ev)
{
SOM_ResolveD(this,HIEmbeddingPanel,HIObject,Release)
(this,ev);
}
/* method: GetOwnerCount */
ItemCount GetOwnerCount(Environment *ev)
{
return SOM_ResolveD(this,HIEmbeddingPanel,HIObject,GetOwnerCount)
(this,ev);
}
/* method: InitFromAERecord */
OSStatus InitFromAERecord(Environment *ev,
AESubDesc* baseInitializerData,
AESubDesc* initializerDataForClass,
HIAERecordDataFormat dataFormat)
{
return SOM_ResolveD(this,HIEmbeddingPanel,HIObject,InitFromAERecord)
(this,ev,baseInitializerData,initializerDataForClass,dataFormat);
}
/* method: WriteToAERecord */
OSStatus WriteToAERecord(Environment *ev,
AERecord* dataForSubclass,
AERecord* objectData,
HIAERecordDataFormat dataFormat)
{
return SOM_ResolveD(this,HIEmbeddingPanel,HIObject,WriteToAERecord)
(this,ev,dataForSubclass,objectData,dataFormat);
}
/* method: CalculateOptimalSize */
void CalculateOptimalSize(Environment *ev,
SInt16* optimalWidth,
SInt16* optimalHeight)
{
SOM_ResolveD(this,HIEmbeddingPanel,HIObject,CalculateOptimalSize)
(this,ev,optimalWidth,optimalHeight);
}
/* method: GetBoundingRect */
void GetBoundingRect(Environment *ev,
HICoordinateSystem coordinate,
Rect* boundingRect)
{
SOM_ResolveD(this,HIEmbeddingPanel,HIObject,GetBoundingRect)
(this,ev,coordinate,boundingRect);
}
/* method: SetBoundingRect */
void SetBoundingRect(Environment *ev,
HICoordinateSystem coordinate,
Rect* newBoundingRect)
{
SOM_ResolveD(this,HIEmbeddingPanel,HIObject,SetBoundingRect)
(this,ev,coordinate,newBoundingRect);
}
/* method: SetPosition */
void SetPosition(Environment *ev,
HICoordinateSystem coordinate,
Point* newPosition)
{
SOM_ResolveD(this,HIEmbeddingPanel,HIObject,SetPosition)
(this,ev,coordinate,newPosition);
}
/* method: SetSize */
void SetSize(Environment *ev,
SInt16 width,
SInt16 height)
{
SOM_ResolveD(this,HIEmbeddingPanel,HIObject,SetSize)
(this,ev,width,height);
}
/* method: GetUpdateRect */
void GetUpdateRect(Environment *ev,
HICoordinateSystem coordinate,
Rect* updateRect)
{
SOM_ResolveD(this,HIEmbeddingPanel,HIObject,GetUpdateRect)
(this,ev,coordinate,updateRect);
}
/* method: Enable */
void Enable(Environment *ev)
{
SOM_ResolveD(this,HIEmbeddingPanel,HIObject,Enable)
(this,ev);
}
/* method: Disable */
void Disable(Environment *ev)
{
SOM_ResolveD(this,HIEmbeddingPanel,HIObject,Disable)
(this,ev);
}
/* method: IsEnabled */
boolean IsEnabled(Environment *ev)
{
return SOM_ResolveD(this,HIEmbeddingPanel,HIObject,IsEnabled)
(this,ev);
}
/* method: Show */
void Show(Environment *ev)
{
SOM_ResolveD(this,HIEmbeddingPanel,HIObject,Show)
(this,ev);
}
/* method: Hide */
void Hide(Environment *ev)
{
SOM_ResolveD(this,HIEmbeddingPanel,HIObject,Hide)
(this,ev);
}
/* method: IsVisible */
boolean IsVisible(Environment *ev)
{
return SOM_ResolveD(this,HIEmbeddingPanel,HIObject,IsVisible)
(this,ev);
}
/* method: HandleAppleEvent */
OSStatus HandleAppleEvent(Environment *ev,
AEEventClass eventClass,
AEEventID eventID,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIEmbeddingPanel,HIObject,HandleAppleEvent)
(this,ev,eventClass,eventID,theEvent,reply,handlerTableRef);
}
/* method: HandleActivate */
OSStatus HandleActivate(Environment *ev,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIEmbeddingPanel,HIObject,HandleActivate)
(this,ev,theEvent,reply,handlerTableRef);
}
/* method: HandleDeactivate */
OSStatus HandleDeactivate(Environment *ev,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIEmbeddingPanel,HIObject,HandleDeactivate)
(this,ev,theEvent,reply,handlerTableRef);
}
/* method: HandleNavigation */
OSStatus HandleNavigation(Environment *ev,
SInt8 key,
SInt8 keyCode,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIEmbeddingPanel,HIObject,HandleNavigation)
(this,ev,key,keyCode,modifiers,theEvent,reply,handlerTableRef);
}
/* method: HandleMouseDownInContent */
OSStatus HandleMouseDownInContent(Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIEmbeddingPanel,HIObject,HandleMouseDownInContent)
(this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
}
/* method: HandleMouseMovedInContent */
OSStatus HandleMouseMovedInContent(Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIEmbeddingPanel,HIObject,HandleMouseMovedInContent)
(this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
}
/* method: HandleMouseStoppedMovingInContent */
OSStatus HandleMouseStoppedMovingInContent(Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIEmbeddingPanel,HIObject,HandleMouseStoppedMovingInContent)
(this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
}
/* method: HandleMouseUpInContent */
OSStatus HandleMouseUpInContent(Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIEmbeddingPanel,HIObject,HandleMouseUpInContent)
(this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
}
/* method: TakeUserInputFocus */
void TakeUserInputFocus(Environment *ev)
{
SOM_ResolveD(this,HIEmbeddingPanel,HIObject,TakeUserInputFocus)
(this,ev);
}
/* method: ReleaseUserInputFocus */
void ReleaseUserInputFocus(Environment *ev)
{
SOM_ResolveD(this,HIEmbeddingPanel,HIObject,ReleaseUserInputFocus)
(this,ev);
}
/* method: HasUserInputFocus */
boolean HasUserInputFocus(Environment *ev)
{
return SOM_ResolveD(this,HIEmbeddingPanel,HIObject,HasUserInputFocus)
(this,ev);
}
/* method: CanReleaseUserInputFocus */
boolean CanReleaseUserInputFocus(Environment *ev)
{
return SOM_ResolveD(this,HIEmbeddingPanel,HIObject,CanReleaseUserInputFocus)
(this,ev);
}
/* method: SetUserInputFocusFlags */
void SetUserInputFocusFlags(Environment *ev,
HIUserInputFocusFlags flags)
{
SOM_ResolveD(this,HIEmbeddingPanel,HIObject,SetUserInputFocusFlags)
(this,ev,flags);
}
/* method: GetUserInputFocusFlags */
HIUserInputFocusFlags GetUserInputFocusFlags(Environment *ev)
{
return SOM_ResolveD(this,HIEmbeddingPanel,HIObject,GetUserInputFocusFlags)
(this,ev);
}
/* method: SetTitle */
OSStatus SetTitle(Environment *ev,
ConstHIImageRef title,
HIAdoptionFlags disposalAdoptionFlags)
{
return SOM_ResolveD(this,HIEmbeddingPanel,HIObject,SetTitle)
(this,ev,title,disposalAdoptionFlags);
}
/* method: GetTitle */
OSStatus GetTitle(Environment *ev,
HIImageRef* title)
{
return SOM_ResolveD(this,HIEmbeddingPanel,HIObject,GetTitle)
(this,ev,title);
}
/* method: Draw */
void Draw(Environment *ev,
CGrafPtr whichPort,
RgnHandle drawRgn)
{
SOM_ResolveD(this,HIEmbeddingPanel,HIObject,Draw)
(this,ev,whichPort,drawRgn);
}
/* method: Erase */
void Erase(Environment *ev,
CGrafPtr whichPort,
RgnHandle eraseRgn)
{
SOM_ResolveD(this,HIEmbeddingPanel,HIObject,Erase)
(this,ev,whichPort,eraseRgn);
}
/* method: Invalidate */
void Invalidate(Environment *ev)
{
SOM_ResolveD(this,HIEmbeddingPanel,HIObject,Invalidate)
(this,ev);
}
/* method: GetDrawingMode */
HIDrawingMode GetDrawingMode(Environment *ev)
{
return SOM_ResolveD(this,HIEmbeddingPanel,HIObject,GetDrawingMode)
(this,ev);
}
/* method: SetDrawingMode */
void SetDrawingMode(Environment *ev,
HIDrawingMode drawingMode)
{
SOM_ResolveD(this,HIEmbeddingPanel,HIObject,SetDrawingMode)
(this,ev,drawingMode);
}
/* method: SetBackgroundPattern */
void SetBackgroundPattern(Environment *ev,
PixPatHandle backgroundPattern)
{
SOM_ResolveD(this,HIEmbeddingPanel,HIObject,SetBackgroundPattern)
(this,ev,backgroundPattern);
}
/* method: GetBackgroundPattern */
PixPatHandle GetBackgroundPattern(Environment *ev)
{
return SOM_ResolveD(this,HIEmbeddingPanel,HIObject,GetBackgroundPattern)
(this,ev);
}
/* method: Cut */
void Cut(Environment *ev)
{
SOM_ResolveD(this,HIEmbeddingPanel,HIObject,Cut)
(this,ev);
}
/* method: Copy */
void Copy(Environment *ev)
{
SOM_ResolveD(this,HIEmbeddingPanel,HIObject,Copy)
(this,ev);
}
/* method: Paste */
void Paste(Environment *ev)
{
SOM_ResolveD(this,HIEmbeddingPanel,HIObject,Paste)
(this,ev);
}
/* method: Clear */
void Clear(Environment *ev)
{
SOM_ResolveD(this,HIEmbeddingPanel,HIObject,Clear)
(this,ev);
}
/* method: GetClipboardSupportFlags */
HIClipboardSupportFlags GetClipboardSupportFlags(Environment *ev)
{
return SOM_ResolveD(this,HIEmbeddingPanel,HIObject,GetClipboardSupportFlags)
(this,ev);
}
/* method: AddStateChangeCallback */
OSStatus AddStateChangeCallback(Environment *ev,
HIStateChangeCallbackProcPtr changedStateCallback,
HIStateChangeCallbackRef* newCallbackRef)
{
return SOM_ResolveD(this,HIEmbeddingPanel,HIObject,AddStateChangeCallback)
(this,ev,changedStateCallback,newCallbackRef);
}
/* method: RemoveStateChangeCallback */
OSStatus RemoveStateChangeCallback(Environment *ev,
HIStateChangeCallbackRef callbackRefToRemove)
{
return SOM_ResolveD(this,HIEmbeddingPanel,HIObject,RemoveStateChangeCallback)
(this,ev,callbackRefToRemove);
}
/* noself procedure: GetHIObjectFromRefLabel */
static OSStatus GetHIObjectFromRefLabel(Environment *ev,
RefLabel* identifier,
ItemCount requestedObjects,
ItemCount* totalObjects,
HIObject** theObjects)
{
return ((somTD_HIEmbeddingPanel_GetHIObjectFromRefLabel)HIObjectClassData.GetHIObjectFromRefLabel)
(ev,identifier,requestedObjects,totalObjects,theObjects);
}
/* noself procedure: GetNewHIObject */
static OSStatus GetNewHIObject(Environment *ev,
AESubDesc* objectInitializer,
HIObject** newObject)
{
return ((somTD_HIEmbeddingPanel_GetNewHIObject)HIObjectClassData.GetNewHIObject)
(ev,objectInitializer,newObject);
}
/* noself procedure: GetNewHIObjectFromResource */
static OSStatus GetNewHIObjectFromResource(Environment *ev,
ResID objectInitializerResourceID,
HIObject** newObject)
{
return ((somTD_HIEmbeddingPanel_GetNewHIObjectFromResource)HIObjectClassData.GetNewHIObjectFromResource)
(ev,objectInitializerResourceID,newObject);
}
/* method: DrawContent */
void DrawContent(Environment *ev,
CGrafPtr whichPort,
RgnHandle drawRgn)
{
SOM_ResolveD(this,HIEmbeddingPanel,HIObject,DrawContent)
(this,ev,whichPort,drawRgn);
}
/* method: EraseContent */
void EraseContent(Environment *ev,
CGrafPtr whichPort,
RgnHandle regionToErase)
{
SOM_ResolveD(this,HIEmbeddingPanel,HIObject,EraseContent)
(this,ev,whichPort,regionToErase);
}
/* method: TranslatePoint */
void TranslatePoint(Environment *ev,
HICoordinateSystem translateFrom,
HICoordinateSystem translateTo,
Point* sourcePoint,
Point* translatedPoint)
{
SOM_ResolveD(this,HIEmbeddingPanel,HIObject,TranslatePoint)
(this,ev,translateFrom,translateTo,sourcePoint,translatedPoint);
}
/* method: TranslateRect */
void TranslateRect(Environment *ev,
HICoordinateSystem translateFrom,
HICoordinateSystem translateTo,
Rect* sourceRect,
Rect* translatedRect)
{
SOM_ResolveD(this,HIEmbeddingPanel,HIObject,TranslateRect)
(this,ev,translateFrom,translateTo,sourceRect,translatedRect);
}
/* method: StateChanged */
void StateChanged(Environment *ev,
HIStateChangeCodeCreator selectorCreator,
HIStateChangeCode changedCode)
{
SOM_ResolveD(this,HIEmbeddingPanel,HIObject,StateChanged)
(this,ev,selectorCreator,changedCode);
}
/* method: SetClipboardSupportFlags */
void SetClipboardSupportFlags(Environment *ev,
HIClipboardSupportFlags flags)
{
SOM_ResolveD(this,HIEmbeddingPanel,HIObject,SetClipboardSupportFlags)
(this,ev,flags);
}
/* method: Verify */
OSStatus Verify(Environment *ev)
{
return SOM_ResolveD(this,HIEmbeddingPanel,HIObject,Verify)
(this,ev);
}
/* method: somInit */
void somInit()
{
SOM_ResolveD(this,HIEmbeddingPanel,SOMObject,somInit)
(this);
}
/* method: somUninit */
void somUninit()
{
SOM_ResolveD(this,HIEmbeddingPanel,SOMObject,somUninit)
(this);
}
/* method: somDuplicateReference */
SOMObject* somDuplicateReference()
{
return SOM_ResolveD(this,HIEmbeddingPanel,SOMObject,somDuplicateReference)
(this);
}
/* method: somCompareReference */
boolean somCompareReference(SOMObject* anObject)
{
return SOM_ResolveD(this,HIEmbeddingPanel,SOMObject,somCompareReference)
(this,anObject);
}
/* method: somRelease */
SOMObject* somRelease()
{
return SOM_ResolveD(this,HIEmbeddingPanel,SOMObject,somRelease)
(this);
}
/* method: somFree */
void somFree()
{
SOM_ResolveD(this,HIEmbeddingPanel,SOMObject,somFree)
(this);
}
/* method: somCanDelete */
boolean somCanDelete()
{
return SOM_ResolveD(this,HIEmbeddingPanel,SOMObject,somCanDelete)
(this);
}
/* method: somGetClass */
SOMClass* somGetClass()
{
return SOM_ResolveD(this,HIEmbeddingPanel,SOMObject,somGetClass)
(this);
}
/* method: somGetClassName */
corbastring somGetClassName()
{
return SOM_ResolveD(this,HIEmbeddingPanel,SOMObject,somGetClassName)
(this);
}
/* method: somGetSize */
long somGetSize()
{
return SOM_ResolveD(this,HIEmbeddingPanel,SOMObject,somGetSize)
(this);
}
/* method: somIsA */
boolean somIsA(SOMClass* aClassObj)
{
return SOM_ResolveD(this,HIEmbeddingPanel,SOMObject,somIsA)
(this,aClassObj);
}
/* method: somRespondsTo */
boolean somRespondsTo(somId mId)
{
return SOM_ResolveD(this,HIEmbeddingPanel,SOMObject,somRespondsTo)
(this,mId);
}
/* method: somIsInstanceOf */
boolean somIsInstanceOf(SOMClass* aClassObj)
{
return SOM_ResolveD(this,HIEmbeddingPanel,SOMObject,somIsInstanceOf)
(this,aClassObj);
}
/* va_list method: somDispatch */
/* the va_list invocation form */
boolean HIEmbeddingPanel_somDispatch(somToken* retValue,
somId methodId,
va_list ap)
{
return SOM_ResolveD(this,HIEmbeddingPanel,SOMObject,somDispatch)
(this,retValue,methodId,ap);
}
/* the varargs invocation form */
boolean somDispatch(somToken* retValue,
somId methodId,
...)
{
va_list ap;
va_start(ap, methodId);
boolean __somResult =
(boolean) SOM_ResolveD(this,HIEmbeddingPanel,SOMObject,somDispatch)
(this,retValue,methodId,ap);
va_end(ap);
return __somResult;
}
/* va_list method: somClassDispatch */
/* the va_list invocation form */
boolean HIEmbeddingPanel_somClassDispatch(SOMClass* clsObj,
somToken* retValue,
somId methodId,
va_list ap)
{
return SOM_ResolveD(this,HIEmbeddingPanel,SOMObject,somClassDispatch)
(this,clsObj,retValue,methodId,ap);
}
/* the varargs invocation form */
boolean somClassDispatch(SOMClass* clsObj,
somToken* retValue,
somId methodId,
...)
{
va_list ap;
va_start(ap, methodId);
boolean __somResult =
(boolean) SOM_ResolveD(this,HIEmbeddingPanel,SOMObject,somClassDispatch)
(this,clsObj,retValue,methodId,ap);
va_end(ap);
return __somResult;
}
/* method: somCastObj */
boolean somCastObj(SOMClass* cls)
{
return SOM_ResolveD(this,HIEmbeddingPanel,SOMObject,somCastObj)
(this,cls);
}
/* method: somResetObj */
boolean somResetObj()
{
return SOM_ResolveD(this,HIEmbeddingPanel,SOMObject,somResetObj)
(this);
}
/* method: somPrintSelf */
SOMObject* somPrintSelf()
{
return SOM_ResolveD(this,HIEmbeddingPanel,SOMObject,somPrintSelf)
(this);
}
/* method: somDumpSelf */
void somDumpSelf(long level)
{
SOM_ResolveD(this,HIEmbeddingPanel,SOMObject,somDumpSelf)
(this,level);
}
/* method: somDumpSelfInt */
void somDumpSelfInt(long level)
{
SOM_ResolveD(this,HIEmbeddingPanel,SOMObject,somDumpSelfInt)
(this,level);
}
}; /* HIEmbeddingPanel */
#endif /* SOM_HIEmbeddingPanel_xh */
#ifndef SOM_HIRootPanel_xh
#define SOM_HIRootPanel_xh
class HIRootPanel;
#define HIRootPanel_MajorVersion 0
#define HIRootPanel_MinorVersion 0
/* C++ SOM defs */
#include <somcls.xh>
#include <somcm.xh>
/* C++ parent defs */
#ifndef SOM_HIEmbeddingPanel_xh
#include <HIEmbeddingPanels.xh>
#endif
#ifndef HIRootPanel_API
#define HIRootPanel_API
/*
* -- The Class API
*/
/*
* Start of user-defined types:
*/
/*
* End of user-defined types.
*/
#ifdef OLDIBMSOMAPISUPPORT
#define HIRootPanelCClassData HIRootPanelClassData
#define HIRootPanelNewClass(major,minor) somNewVersionedClassReference(HIRootPanel,major,minor)
#endif
/* define xxxMetaClass macro to facilitate (cls ## MetaClass) */
#define HIRootPanelMetaClass SOMClass
#if PRAGMA_ALIGN_SUPPORTED
# pragma options align=power
#endif
/* The API to the HIRootPanel class object, and the methods it introduces. */
SOMEXTERN struct HIRootPanelClassDataStructure {
#ifdef OLDIBMSOMAPISUPPORT
SOMClass *classObject; /* always zero, use somNewClassReference instead */
#else
long zero;
#endif
somStaticClassInfo *sci;
somDToken instanceDataToken;
long reserved [3];
somMToken InitRootPanel;
somMToken AdjustAccumulatedEraseRgn;
somMToken EraseAccumulatedEraseRgn;
} SOMDLINK HIRootPanelClassData;
#if PRAGMA_ALIGN_SUPPORTED
# pragma options align=reset
#endif
#if !defined(HIRootPanel_Class_Source) && !defined(SOM_Module_hiembeddingpanels_Source)
#if PRAGMA_IMPORT_SUPPORTED
#pragma import list HIRootPanelClassData
#endif
#endif
/*
* -- Typedefs for HIRootPanel Method Procedures
*/
SOMEXTERN {
typedef OSStatus (* SOMLINK somTD_HIRootPanel_InitRootPanel)(HIRootPanel *somSelf, Environment *ev,
RefLabel* identifier,
HIWindow* window);
typedef void (* SOMLINK somTD_HIRootPanel_AdjustAccumulatedEraseRgn)(HIRootPanel *somSelf, Environment *ev,
HIAccumulatorOperation accumulatorOperation,
Rect* oldRectangle,
Rect* newRectangle);
typedef void (* SOMLINK somTD_HIRootPanel_EraseAccumulatedEraseRgn)(HIRootPanel *somSelf, Environment *ev,
CGrafPtr targetPort);
/*
* -- Typedefs for Inherited Methods
*/
typedef ItemCount (* SOMLINK somTD_HIRootPanel_GetSubPanelCount)(HIRootPanel *somSelf, Environment *ev);
typedef HIPanel* (* SOMLINK somTD_HIRootPanel_GetLastSelectedSubPanel)(HIRootPanel *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIRootPanel_InitEmbeddingPanel)(HIRootPanel *somSelf, Environment *ev,
RefLabel* identifier,
HIWindow* window,
Rect* bounds);
typedef OSStatus (* SOMLINK somTD_HIRootPanel_AddSubPanel)(HIRootPanel *somSelf, Environment *ev,
HIPanel* subPanel,
HISubPanelIndex where,
HIAdoptionFlags adoptionFlags,
HIFrameBindingFlags frameBindingFlags);
typedef OSStatus (* SOMLINK somTD_HIRootPanel_RemoveSubPanel)(HIRootPanel *somSelf, Environment *ev,
HIPanel* subPanel);
typedef HIPanel* (* SOMLINK somTD_HIRootPanel_GetSubPanel)(HIRootPanel *somSelf, Environment *ev,
HISubPanelIndex subPanelIndex);
typedef HIPanel* (* SOMLINK somTD_HIRootPanel_GetUserInputFocusSubPanel)(HIRootPanel *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIRootPanel_SetUserInputFocusSubPanel)(HIRootPanel *somSelf, Environment *ev,
HIPanel* subPanel);
typedef HISubPanelIndex (* SOMLINK somTD_HIRootPanel_GetSubPanelIndex)(HIRootPanel *somSelf, Environment *ev,
HIPanel* subPanel);
typedef OSStatus (* SOMLINK somTD_HIRootPanel_GetSubPanelsFromRefLabel)(HIRootPanel *somSelf, Environment *ev,
RefLabel* identifier,
boolean deep,
ItemCount requestedSubPanels,
ItemCount* totalSubPanels,
HIPanel** thePanels);
typedef HIEmbeddingPanel* (* SOMLINK somTD_HIRootPanel_GetEmbeddingParent)(HIRootPanel *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIRootPanel_InitPanel)(HIRootPanel *somSelf, Environment *ev,
RefLabel* identifier,
HIWindow* window,
Rect* bounds);
typedef OSStatus (* SOMLINK somTD_HIRootPanel_RegisterInterestInAppleEvent)(HIRootPanel *somSelf, Environment *ev,
AEHandlerTableRef table,
AEEventClass eventClass,
AEEventID eventID,
HIEventRoutingType eventRouting);
typedef boolean (* SOMLINK somTD_HIRootPanel_HasValidContent)(HIRootPanel *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIRootPanel_GetDeepCollectionItemData)(HIRootPanel *somSelf, Environment *ev,
CollectionTag tag,
SInt32 id,
ByteCount sizeAllowed,
ByteCount* sizeReturned,
void* itemData);
typedef HIWindow* (* SOMLINK somTD_HIRootPanel_GetWindow)(HIRootPanel *somSelf, Environment *ev);
typedef CGrafPtr (* SOMLINK somTD_HIRootPanel_GetPort)(HIRootPanel *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIRootPanel_GetRefLabel)(HIRootPanel *somSelf, Environment *ev,
RefLabel* identifier);
typedef Collection (* SOMLINK somTD_HIRootPanel_GetCollection)(HIRootPanel *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIRootPanel_Init)(HIRootPanel *somSelf, Environment *ev,
RefLabel* identifier,
Rect* boundingRect);
typedef void (* SOMLINK somTD_HIRootPanel_Terminate)(HIRootPanel *somSelf, Environment *ev);
typedef HIObject* (* SOMLINK somTD_HIRootPanel_Clone)(HIRootPanel *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIRootPanel_Release)(HIRootPanel *somSelf, Environment *ev);
typedef ItemCount (* SOMLINK somTD_HIRootPanel_GetOwnerCount)(HIRootPanel *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIRootPanel_InitFromAERecord)(HIRootPanel *somSelf, Environment *ev,
AESubDesc* baseInitializerData,
AESubDesc* initializerDataForClass,
HIAERecordDataFormat dataFormat);
typedef OSStatus (* SOMLINK somTD_HIRootPanel_WriteToAERecord)(HIRootPanel *somSelf, Environment *ev,
AERecord* dataForSubclass,
AERecord* objectData,
HIAERecordDataFormat dataFormat);
typedef void (* SOMLINK somTD_HIRootPanel_CalculateOptimalSize)(HIRootPanel *somSelf, Environment *ev,
SInt16* optimalWidth,
SInt16* optimalHeight);
typedef void (* SOMLINK somTD_HIRootPanel_GetBoundingRect)(HIRootPanel *somSelf, Environment *ev,
HICoordinateSystem coordinate,
Rect* boundingRect);
typedef void (* SOMLINK somTD_HIRootPanel_SetBoundingRect)(HIRootPanel *somSelf, Environment *ev,
HICoordinateSystem coordinate,
Rect* newBoundingRect);
typedef void (* SOMLINK somTD_HIRootPanel_SetPosition)(HIRootPanel *somSelf, Environment *ev,
HICoordinateSystem coordinate,
Point* newPosition);
typedef void (* SOMLINK somTD_HIRootPanel_SetSize)(HIRootPanel *somSelf, Environment *ev,
SInt16 width,
SInt16 height);
typedef void (* SOMLINK somTD_HIRootPanel_GetUpdateRect)(HIRootPanel *somSelf, Environment *ev,
HICoordinateSystem coordinate,
Rect* updateRect);
typedef void (* SOMLINK somTD_HIRootPanel_Enable)(HIRootPanel *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIRootPanel_Disable)(HIRootPanel *somSelf, Environment *ev);
typedef boolean (* SOMLINK somTD_HIRootPanel_IsEnabled)(HIRootPanel *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIRootPanel_Show)(HIRootPanel *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIRootPanel_Hide)(HIRootPanel *somSelf, Environment *ev);
typedef boolean (* SOMLINK somTD_HIRootPanel_IsVisible)(HIRootPanel *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIRootPanel_HandleAppleEvent)(HIRootPanel *somSelf, Environment *ev,
AEEventClass eventClass,
AEEventID eventID,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIRootPanel_HandleActivate)(HIRootPanel *somSelf, Environment *ev,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIRootPanel_HandleDeactivate)(HIRootPanel *somSelf, Environment *ev,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIRootPanel_HandleNavigation)(HIRootPanel *somSelf, Environment *ev,
SInt8 key,
SInt8 keyCode,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIRootPanel_HandleMouseDownInContent)(HIRootPanel *somSelf, Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIRootPanel_HandleMouseMovedInContent)(HIRootPanel *somSelf, Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIRootPanel_HandleMouseStoppedMovingInContent)(HIRootPanel *somSelf, Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIRootPanel_HandleMouseUpInContent)(HIRootPanel *somSelf, Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef void (* SOMLINK somTD_HIRootPanel_TakeUserInputFocus)(HIRootPanel *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIRootPanel_ReleaseUserInputFocus)(HIRootPanel *somSelf, Environment *ev);
typedef boolean (* SOMLINK somTD_HIRootPanel_HasUserInputFocus)(HIRootPanel *somSelf, Environment *ev);
typedef boolean (* SOMLINK somTD_HIRootPanel_CanReleaseUserInputFocus)(HIRootPanel *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIRootPanel_SetUserInputFocusFlags)(HIRootPanel *somSelf, Environment *ev,
HIUserInputFocusFlags flags);
typedef HIUserInputFocusFlags (* SOMLINK somTD_HIRootPanel_GetUserInputFocusFlags)(HIRootPanel *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIRootPanel_SetTitle)(HIRootPanel *somSelf, Environment *ev,
ConstHIImageRef title,
HIAdoptionFlags disposalAdoptionFlags);
typedef OSStatus (* SOMLINK somTD_HIRootPanel_GetTitle)(HIRootPanel *somSelf, Environment *ev,
HIImageRef* title);
typedef void (* SOMLINK somTD_HIRootPanel_Draw)(HIRootPanel *somSelf, Environment *ev,
CGrafPtr whichPort,
RgnHandle drawRgn);
typedef void (* SOMLINK somTD_HIRootPanel_Erase)(HIRootPanel *somSelf, Environment *ev,
CGrafPtr whichPort,
RgnHandle eraseRgn);
typedef void (* SOMLINK somTD_HIRootPanel_Invalidate)(HIRootPanel *somSelf, Environment *ev);
typedef HIDrawingMode (* SOMLINK somTD_HIRootPanel_GetDrawingMode)(HIRootPanel *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIRootPanel_SetDrawingMode)(HIRootPanel *somSelf, Environment *ev,
HIDrawingMode drawingMode);
typedef void (* SOMLINK somTD_HIRootPanel_SetBackgroundPattern)(HIRootPanel *somSelf, Environment *ev,
PixPatHandle backgroundPattern);
typedef PixPatHandle (* SOMLINK somTD_HIRootPanel_GetBackgroundPattern)(HIRootPanel *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIRootPanel_Cut)(HIRootPanel *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIRootPanel_Copy)(HIRootPanel *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIRootPanel_Paste)(HIRootPanel *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIRootPanel_Clear)(HIRootPanel *somSelf, Environment *ev);
typedef HIClipboardSupportFlags (* SOMLINK somTD_HIRootPanel_GetClipboardSupportFlags)(HIRootPanel *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIRootPanel_AddStateChangeCallback)(HIRootPanel *somSelf, Environment *ev,
HIStateChangeCallbackProcPtr changedStateCallback,
HIStateChangeCallbackRef* newCallbackRef);
typedef OSStatus (* SOMLINK somTD_HIRootPanel_RemoveStateChangeCallback)(HIRootPanel *somSelf, Environment *ev,
HIStateChangeCallbackRef callbackRefToRemove);
typedef OSStatus (* SOMLINK somTD_HIRootPanel_GetHIObjectFromRefLabel)(Environment *ev,
RefLabel* identifier,
ItemCount requestedObjects,
ItemCount* totalObjects,
HIObject** theObjects);
typedef OSStatus (* SOMLINK somTD_HIRootPanel_GetNewHIObject)(Environment *ev,
AESubDesc* objectInitializer,
HIObject** newObject);
typedef OSStatus (* SOMLINK somTD_HIRootPanel_GetNewHIObjectFromResource)(Environment *ev,
ResID objectInitializerResourceID,
HIObject** newObject);
typedef void (* SOMLINK somTD_HIRootPanel_DrawContent)(HIRootPanel *somSelf, Environment *ev,
CGrafPtr whichPort,
RgnHandle drawRgn);
typedef void (* SOMLINK somTD_HIRootPanel_EraseContent)(HIRootPanel *somSelf, Environment *ev,
CGrafPtr whichPort,
RgnHandle regionToErase);
typedef void (* SOMLINK somTD_HIRootPanel_TranslatePoint)(HIRootPanel *somSelf, Environment *ev,
HICoordinateSystem translateFrom,
HICoordinateSystem translateTo,
Point* sourcePoint,
Point* translatedPoint);
typedef void (* SOMLINK somTD_HIRootPanel_TranslateRect)(HIRootPanel *somSelf, Environment *ev,
HICoordinateSystem translateFrom,
HICoordinateSystem translateTo,
Rect* sourceRect,
Rect* translatedRect);
typedef void (* SOMLINK somTD_HIRootPanel_StateChanged)(HIRootPanel *somSelf, Environment *ev,
HIStateChangeCodeCreator selectorCreator,
HIStateChangeCode changedCode);
typedef void (* SOMLINK somTD_HIRootPanel_SetClipboardSupportFlags)(HIRootPanel *somSelf, Environment *ev,
HIClipboardSupportFlags flags);
typedef OSStatus (* SOMLINK somTD_HIRootPanel_Verify)(HIRootPanel *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIRootPanel_somInit)(HIRootPanel *somSelf);
typedef void (* SOMLINK somTD_HIRootPanel_somUninit)(HIRootPanel *somSelf);
typedef SOMObject* (* SOMLINK somTD_HIRootPanel_somDuplicateReference)(HIRootPanel *somSelf);
typedef boolean (* SOMLINK somTD_HIRootPanel_somCompareReference)(HIRootPanel *somSelf,
SOMObject* anObject);
typedef SOMObject* (* SOMLINK somTD_HIRootPanel_somRelease)(HIRootPanel *somSelf);
typedef void (* SOMLINK somTD_HIRootPanel_somFree)(HIRootPanel *somSelf);
typedef boolean (* SOMLINK somTD_HIRootPanel_somCanDelete)(HIRootPanel *somSelf);
typedef SOMClass* (* SOMLINK somTD_HIRootPanel_somGetClass)(HIRootPanel *somSelf);
typedef corbastring (* SOMLINK somTD_HIRootPanel_somGetClassName)(HIRootPanel *somSelf);
typedef long (* SOMLINK somTD_HIRootPanel_somGetSize)(HIRootPanel *somSelf);
typedef boolean (* SOMLINK somTD_HIRootPanel_somIsA)(HIRootPanel *somSelf,
SOMClass* aClassObj);
typedef boolean (* SOMLINK somTD_HIRootPanel_somRespondsTo)(HIRootPanel *somSelf,
somId mId);
typedef boolean (* SOMLINK somTD_HIRootPanel_somIsInstanceOf)(HIRootPanel *somSelf,
SOMClass* aClassObj);
typedef boolean (* SOMLINK somTD_HIRootPanel_somDispatch)(HIRootPanel *somSelf,
somToken* retValue,
somId methodId,
va_list ap);
typedef boolean (* SOMLINK somTD_HIRootPanel_somClassDispatch)(HIRootPanel *somSelf,
SOMClass* clsObj,
somToken* retValue,
somId methodId,
va_list ap);
typedef boolean (* SOMLINK somTD_HIRootPanel_somCastObj)(HIRootPanel *somSelf,
SOMClass* cls);
typedef boolean (* SOMLINK somTD_HIRootPanel_somResetObj)(HIRootPanel *somSelf);
typedef SOMObject* (* SOMLINK somTD_HIRootPanel_somPrintSelf)(HIRootPanel *somSelf);
typedef void (* SOMLINK somTD_HIRootPanel_somDumpSelf)(HIRootPanel *somSelf,
long level);
typedef void (* SOMLINK somTD_HIRootPanel_somDumpSelfInt)(HIRootPanel *somSelf,
long level);
}
#endif /* HIRootPanel_API */
/*
* -- This emitter treats Method Tokens as Thunks by default.
* -- Use the sc modifier "nothunks" to change this default
*/
#undef somresolve_
#define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
/*
* -- The C++ Wrapper Class for HIRootPanel
*/
class HIRootPanel : public HIEmbeddingPanel
{
public:
// HIRootPanel::new registers use of the class object, and then uses somNew
// to allocate memory and load the object method table pointer.
void *operator new(size_t size)
{
SOM_IgnoreWarning(size);
// Allocate memory using the default allocator for HIRootPanel, and
// clear mem & set method table pointer, call basic initialization
return (void*) somNewObject(HIRootPanel);
}
// HIRootPanel::delete uses the default deallocator for the object's class.
void operator delete(void * obj)
{
if (obj) {
SOM_Resolve(obj,SOMObject,somFree)
( (SOMObject*) obj );
}
}
/* method: InitRootPanel */
OSStatus InitRootPanel(Environment *ev,
RefLabel* identifier,
HIWindow* window)
{
return SOM_ResolveD(this,HIRootPanel,HIRootPanel,InitRootPanel)
(this,ev,identifier,window);
}
/* method: AdjustAccumulatedEraseRgn */
void AdjustAccumulatedEraseRgn(Environment *ev,
HIAccumulatorOperation accumulatorOperation,
Rect* oldRectangle,
Rect* newRectangle)
{
SOM_ResolveD(this,HIRootPanel,HIRootPanel,AdjustAccumulatedEraseRgn)
(this,ev,accumulatorOperation,oldRectangle,newRectangle);
}
/* method: EraseAccumulatedEraseRgn */
void EraseAccumulatedEraseRgn(Environment *ev,
CGrafPtr targetPort)
{
SOM_ResolveD(this,HIRootPanel,HIRootPanel,EraseAccumulatedEraseRgn)
(this,ev,targetPort);
}
/*
* -- Inherited methods
*/
/* method: GetSubPanelCount */
ItemCount GetSubPanelCount(Environment *ev)
{
return SOM_ResolveD(this,HIRootPanel,HIEmbeddingPanel,GetSubPanelCount)
(this,ev);
}
/* method: GetLastSelectedSubPanel */
HIPanel* GetLastSelectedSubPanel(Environment *ev)
{
return SOM_ResolveD(this,HIRootPanel,HIEmbeddingPanel,GetLastSelectedSubPanel)
(this,ev);
}
/* method: InitEmbeddingPanel */
OSStatus InitEmbeddingPanel(Environment *ev,
RefLabel* identifier,
HIWindow* window,
Rect* bounds)
{
return SOM_ResolveD(this,HIRootPanel,HIEmbeddingPanel,InitEmbeddingPanel)
(this,ev,identifier,window,bounds);
}
/* method: AddSubPanel */
OSStatus AddSubPanel(Environment *ev,
HIPanel* subPanel,
HISubPanelIndex where,
HIAdoptionFlags adoptionFlags,
HIFrameBindingFlags frameBindingFlags)
{
return SOM_ResolveD(this,HIRootPanel,HIEmbeddingPanel,AddSubPanel)
(this,ev,subPanel,where,adoptionFlags,frameBindingFlags);
}
/* method: RemoveSubPanel */
OSStatus RemoveSubPanel(Environment *ev,
HIPanel* subPanel)
{
return SOM_ResolveD(this,HIRootPanel,HIEmbeddingPanel,RemoveSubPanel)
(this,ev,subPanel);
}
/* method: GetSubPanel */
HIPanel* GetSubPanel(Environment *ev,
HISubPanelIndex subPanelIndex)
{
return SOM_ResolveD(this,HIRootPanel,HIEmbeddingPanel,GetSubPanel)
(this,ev,subPanelIndex);
}
/* method: GetUserInputFocusSubPanel */
HIPanel* GetUserInputFocusSubPanel(Environment *ev)
{
return SOM_ResolveD(this,HIRootPanel,HIEmbeddingPanel,GetUserInputFocusSubPanel)
(this,ev);
}
/* method: SetUserInputFocusSubPanel */
OSStatus SetUserInputFocusSubPanel(Environment *ev,
HIPanel* subPanel)
{
return SOM_ResolveD(this,HIRootPanel,HIEmbeddingPanel,SetUserInputFocusSubPanel)
(this,ev,subPanel);
}
/* method: GetSubPanelIndex */
HISubPanelIndex GetSubPanelIndex(Environment *ev,
HIPanel* subPanel)
{
return SOM_ResolveD(this,HIRootPanel,HIEmbeddingPanel,GetSubPanelIndex)
(this,ev,subPanel);
}
/* method: GetSubPanelsFromRefLabel */
OSStatus GetSubPanelsFromRefLabel(Environment *ev,
RefLabel* identifier,
boolean deep,
ItemCount requestedSubPanels,
ItemCount* totalSubPanels,
HIPanel** thePanels)
{
return SOM_ResolveD(this,HIRootPanel,HIEmbeddingPanel,GetSubPanelsFromRefLabel)
(this,ev,identifier,deep,requestedSubPanels,totalSubPanels,thePanels);
}
/* method: GetEmbeddingParent */
HIEmbeddingPanel* GetEmbeddingParent(Environment *ev)
{
return SOM_ResolveD(this,HIRootPanel,HIPanel,GetEmbeddingParent)
(this,ev);
}
/* method: InitPanel */
OSStatus InitPanel(Environment *ev,
RefLabel* identifier,
HIWindow* window,
Rect* bounds)
{
return SOM_ResolveD(this,HIRootPanel,HIPanel,InitPanel)
(this,ev,identifier,window,bounds);
}
/* method: RegisterInterestInAppleEvent */
OSStatus RegisterInterestInAppleEvent(Environment *ev,
AEHandlerTableRef table,
AEEventClass eventClass,
AEEventID eventID,
HIEventRoutingType eventRouting)
{
return SOM_ResolveD(this,HIRootPanel,HIPanel,RegisterInterestInAppleEvent)
(this,ev,table,eventClass,eventID,eventRouting);
}
/* method: HasValidContent */
boolean HasValidContent(Environment *ev)
{
return SOM_ResolveD(this,HIRootPanel,HIPanel,HasValidContent)
(this,ev);
}
/* method: GetDeepCollectionItemData */
OSStatus GetDeepCollectionItemData(Environment *ev,
CollectionTag tag,
SInt32 id,
ByteCount sizeAllowed,
ByteCount* sizeReturned,
void* itemData)
{
return SOM_ResolveD(this,HIRootPanel,HIPanel,GetDeepCollectionItemData)
(this,ev,tag,id,sizeAllowed,sizeReturned,itemData);
}
/* method: GetWindow */
HIWindow* GetWindow(Environment *ev)
{
return SOM_ResolveD(this,HIRootPanel,HIObject,GetWindow)
(this,ev);
}
/* method: GetPort */
CGrafPtr GetPort(Environment *ev)
{
return SOM_ResolveD(this,HIRootPanel,HIObject,GetPort)
(this,ev);
}
/* method: GetRefLabel */
void GetRefLabel(Environment *ev,
RefLabel* identifier)
{
SOM_ResolveD(this,HIRootPanel,HIObject,GetRefLabel)
(this,ev,identifier);
}
/* method: GetCollection */
Collection GetCollection(Environment *ev)
{
return SOM_ResolveD(this,HIRootPanel,HIObject,GetCollection)
(this,ev);
}
/* method: Init */
OSStatus Init(Environment *ev,
RefLabel* identifier,
Rect* boundingRect)
{
return SOM_ResolveD(this,HIRootPanel,HIObject,Init)
(this,ev,identifier,boundingRect);
}
/* method: Terminate */
void Terminate(Environment *ev)
{
SOM_ResolveD(this,HIRootPanel,HIObject,Terminate)
(this,ev);
}
/* method: Clone */
HIObject* Clone(Environment *ev)
{
return SOM_ResolveD(this,HIRootPanel,HIObject,Clone)
(this,ev);
}
/* method: Release */
void Release(Environment *ev)
{
SOM_ResolveD(this,HIRootPanel,HIObject,Release)
(this,ev);
}
/* method: GetOwnerCount */
ItemCount GetOwnerCount(Environment *ev)
{
return SOM_ResolveD(this,HIRootPanel,HIObject,GetOwnerCount)
(this,ev);
}
/* method: InitFromAERecord */
OSStatus InitFromAERecord(Environment *ev,
AESubDesc* baseInitializerData,
AESubDesc* initializerDataForClass,
HIAERecordDataFormat dataFormat)
{
return SOM_ResolveD(this,HIRootPanel,HIObject,InitFromAERecord)
(this,ev,baseInitializerData,initializerDataForClass,dataFormat);
}
/* method: WriteToAERecord */
OSStatus WriteToAERecord(Environment *ev,
AERecord* dataForSubclass,
AERecord* objectData,
HIAERecordDataFormat dataFormat)
{
return SOM_ResolveD(this,HIRootPanel,HIObject,WriteToAERecord)
(this,ev,dataForSubclass,objectData,dataFormat);
}
/* method: CalculateOptimalSize */
void CalculateOptimalSize(Environment *ev,
SInt16* optimalWidth,
SInt16* optimalHeight)
{
SOM_ResolveD(this,HIRootPanel,HIObject,CalculateOptimalSize)
(this,ev,optimalWidth,optimalHeight);
}
/* method: GetBoundingRect */
void GetBoundingRect(Environment *ev,
HICoordinateSystem coordinate,
Rect* boundingRect)
{
SOM_ResolveD(this,HIRootPanel,HIObject,GetBoundingRect)
(this,ev,coordinate,boundingRect);
}
/* method: SetBoundingRect */
void SetBoundingRect(Environment *ev,
HICoordinateSystem coordinate,
Rect* newBoundingRect)
{
SOM_ResolveD(this,HIRootPanel,HIObject,SetBoundingRect)
(this,ev,coordinate,newBoundingRect);
}
/* method: SetPosition */
void SetPosition(Environment *ev,
HICoordinateSystem coordinate,
Point* newPosition)
{
SOM_ResolveD(this,HIRootPanel,HIObject,SetPosition)
(this,ev,coordinate,newPosition);
}
/* method: SetSize */
void SetSize(Environment *ev,
SInt16 width,
SInt16 height)
{
SOM_ResolveD(this,HIRootPanel,HIObject,SetSize)
(this,ev,width,height);
}
/* method: GetUpdateRect */
void GetUpdateRect(Environment *ev,
HICoordinateSystem coordinate,
Rect* updateRect)
{
SOM_ResolveD(this,HIRootPanel,HIObject,GetUpdateRect)
(this,ev,coordinate,updateRect);
}
/* method: Enable */
void Enable(Environment *ev)
{
SOM_ResolveD(this,HIRootPanel,HIObject,Enable)
(this,ev);
}
/* method: Disable */
void Disable(Environment *ev)
{
SOM_ResolveD(this,HIRootPanel,HIObject,Disable)
(this,ev);
}
/* method: IsEnabled */
boolean IsEnabled(Environment *ev)
{
return SOM_ResolveD(this,HIRootPanel,HIObject,IsEnabled)
(this,ev);
}
/* method: Show */
void Show(Environment *ev)
{
SOM_ResolveD(this,HIRootPanel,HIObject,Show)
(this,ev);
}
/* method: Hide */
void Hide(Environment *ev)
{
SOM_ResolveD(this,HIRootPanel,HIObject,Hide)
(this,ev);
}
/* method: IsVisible */
boolean IsVisible(Environment *ev)
{
return SOM_ResolveD(this,HIRootPanel,HIObject,IsVisible)
(this,ev);
}
/* method: HandleAppleEvent */
OSStatus HandleAppleEvent(Environment *ev,
AEEventClass eventClass,
AEEventID eventID,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIRootPanel,HIObject,HandleAppleEvent)
(this,ev,eventClass,eventID,theEvent,reply,handlerTableRef);
}
/* method: HandleActivate */
OSStatus HandleActivate(Environment *ev,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIRootPanel,HIObject,HandleActivate)
(this,ev,theEvent,reply,handlerTableRef);
}
/* method: HandleDeactivate */
OSStatus HandleDeactivate(Environment *ev,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIRootPanel,HIObject,HandleDeactivate)
(this,ev,theEvent,reply,handlerTableRef);
}
/* method: HandleNavigation */
OSStatus HandleNavigation(Environment *ev,
SInt8 key,
SInt8 keyCode,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIRootPanel,HIObject,HandleNavigation)
(this,ev,key,keyCode,modifiers,theEvent,reply,handlerTableRef);
}
/* method: HandleMouseDownInContent */
OSStatus HandleMouseDownInContent(Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIRootPanel,HIObject,HandleMouseDownInContent)
(this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
}
/* method: HandleMouseMovedInContent */
OSStatus HandleMouseMovedInContent(Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIRootPanel,HIObject,HandleMouseMovedInContent)
(this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
}
/* method: HandleMouseStoppedMovingInContent */
OSStatus HandleMouseStoppedMovingInContent(Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIRootPanel,HIObject,HandleMouseStoppedMovingInContent)
(this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
}
/* method: HandleMouseUpInContent */
OSStatus HandleMouseUpInContent(Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIRootPanel,HIObject,HandleMouseUpInContent)
(this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
}
/* method: TakeUserInputFocus */
void TakeUserInputFocus(Environment *ev)
{
SOM_ResolveD(this,HIRootPanel,HIObject,TakeUserInputFocus)
(this,ev);
}
/* method: ReleaseUserInputFocus */
void ReleaseUserInputFocus(Environment *ev)
{
SOM_ResolveD(this,HIRootPanel,HIObject,ReleaseUserInputFocus)
(this,ev);
}
/* method: HasUserInputFocus */
boolean HasUserInputFocus(Environment *ev)
{
return SOM_ResolveD(this,HIRootPanel,HIObject,HasUserInputFocus)
(this,ev);
}
/* method: CanReleaseUserInputFocus */
boolean CanReleaseUserInputFocus(Environment *ev)
{
return SOM_ResolveD(this,HIRootPanel,HIObject,CanReleaseUserInputFocus)
(this,ev);
}
/* method: SetUserInputFocusFlags */
void SetUserInputFocusFlags(Environment *ev,
HIUserInputFocusFlags flags)
{
SOM_ResolveD(this,HIRootPanel,HIObject,SetUserInputFocusFlags)
(this,ev,flags);
}
/* method: GetUserInputFocusFlags */
HIUserInputFocusFlags GetUserInputFocusFlags(Environment *ev)
{
return SOM_ResolveD(this,HIRootPanel,HIObject,GetUserInputFocusFlags)
(this,ev);
}
/* method: SetTitle */
OSStatus SetTitle(Environment *ev,
ConstHIImageRef title,
HIAdoptionFlags disposalAdoptionFlags)
{
return SOM_ResolveD(this,HIRootPanel,HIObject,SetTitle)
(this,ev,title,disposalAdoptionFlags);
}
/* method: GetTitle */
OSStatus GetTitle(Environment *ev,
HIImageRef* title)
{
return SOM_ResolveD(this,HIRootPanel,HIObject,GetTitle)
(this,ev,title);
}
/* method: Draw */
void Draw(Environment *ev,
CGrafPtr whichPort,
RgnHandle drawRgn)
{
SOM_ResolveD(this,HIRootPanel,HIObject,Draw)
(this,ev,whichPort,drawRgn);
}
/* method: Erase */
void Erase(Environment *ev,
CGrafPtr whichPort,
RgnHandle eraseRgn)
{
SOM_ResolveD(this,HIRootPanel,HIObject,Erase)
(this,ev,whichPort,eraseRgn);
}
/* method: Invalidate */
void Invalidate(Environment *ev)
{
SOM_ResolveD(this,HIRootPanel,HIObject,Invalidate)
(this,ev);
}
/* method: GetDrawingMode */
HIDrawingMode GetDrawingMode(Environment *ev)
{
return SOM_ResolveD(this,HIRootPanel,HIObject,GetDrawingMode)
(this,ev);
}
/* method: SetDrawingMode */
void SetDrawingMode(Environment *ev,
HIDrawingMode drawingMode)
{
SOM_ResolveD(this,HIRootPanel,HIObject,SetDrawingMode)
(this,ev,drawingMode);
}
/* method: SetBackgroundPattern */
void SetBackgroundPattern(Environment *ev,
PixPatHandle backgroundPattern)
{
SOM_ResolveD(this,HIRootPanel,HIObject,SetBackgroundPattern)
(this,ev,backgroundPattern);
}
/* method: GetBackgroundPattern */
PixPatHandle GetBackgroundPattern(Environment *ev)
{
return SOM_ResolveD(this,HIRootPanel,HIObject,GetBackgroundPattern)
(this,ev);
}
/* method: Cut */
void Cut(Environment *ev)
{
SOM_ResolveD(this,HIRootPanel,HIObject,Cut)
(this,ev);
}
/* method: Copy */
void Copy(Environment *ev)
{
SOM_ResolveD(this,HIRootPanel,HIObject,Copy)
(this,ev);
}
/* method: Paste */
void Paste(Environment *ev)
{
SOM_ResolveD(this,HIRootPanel,HIObject,Paste)
(this,ev);
}
/* method: Clear */
void Clear(Environment *ev)
{
SOM_ResolveD(this,HIRootPanel,HIObject,Clear)
(this,ev);
}
/* method: GetClipboardSupportFlags */
HIClipboardSupportFlags GetClipboardSupportFlags(Environment *ev)
{
return SOM_ResolveD(this,HIRootPanel,HIObject,GetClipboardSupportFlags)
(this,ev);
}
/* method: AddStateChangeCallback */
OSStatus AddStateChangeCallback(Environment *ev,
HIStateChangeCallbackProcPtr changedStateCallback,
HIStateChangeCallbackRef* newCallbackRef)
{
return SOM_ResolveD(this,HIRootPanel,HIObject,AddStateChangeCallback)
(this,ev,changedStateCallback,newCallbackRef);
}
/* method: RemoveStateChangeCallback */
OSStatus RemoveStateChangeCallback(Environment *ev,
HIStateChangeCallbackRef callbackRefToRemove)
{
return SOM_ResolveD(this,HIRootPanel,HIObject,RemoveStateChangeCallback)
(this,ev,callbackRefToRemove);
}
/* noself procedure: GetHIObjectFromRefLabel */
static OSStatus GetHIObjectFromRefLabel(Environment *ev,
RefLabel* identifier,
ItemCount requestedObjects,
ItemCount* totalObjects,
HIObject** theObjects)
{
return ((somTD_HIRootPanel_GetHIObjectFromRefLabel)HIObjectClassData.GetHIObjectFromRefLabel)
(ev,identifier,requestedObjects,totalObjects,theObjects);
}
/* noself procedure: GetNewHIObject */
static OSStatus GetNewHIObject(Environment *ev,
AESubDesc* objectInitializer,
HIObject** newObject)
{
return ((somTD_HIRootPanel_GetNewHIObject)HIObjectClassData.GetNewHIObject)
(ev,objectInitializer,newObject);
}
/* noself procedure: GetNewHIObjectFromResource */
static OSStatus GetNewHIObjectFromResource(Environment *ev,
ResID objectInitializerResourceID,
HIObject** newObject)
{
return ((somTD_HIRootPanel_GetNewHIObjectFromResource)HIObjectClassData.GetNewHIObjectFromResource)
(ev,objectInitializerResourceID,newObject);
}
/* method: DrawContent */
void DrawContent(Environment *ev,
CGrafPtr whichPort,
RgnHandle drawRgn)
{
SOM_ResolveD(this,HIRootPanel,HIObject,DrawContent)
(this,ev,whichPort,drawRgn);
}
/* method: EraseContent */
void EraseContent(Environment *ev,
CGrafPtr whichPort,
RgnHandle regionToErase)
{
SOM_ResolveD(this,HIRootPanel,HIObject,EraseContent)
(this,ev,whichPort,regionToErase);
}
/* method: TranslatePoint */
void TranslatePoint(Environment *ev,
HICoordinateSystem translateFrom,
HICoordinateSystem translateTo,
Point* sourcePoint,
Point* translatedPoint)
{
SOM_ResolveD(this,HIRootPanel,HIObject,TranslatePoint)
(this,ev,translateFrom,translateTo,sourcePoint,translatedPoint);
}
/* method: TranslateRect */
void TranslateRect(Environment *ev,
HICoordinateSystem translateFrom,
HICoordinateSystem translateTo,
Rect* sourceRect,
Rect* translatedRect)
{
SOM_ResolveD(this,HIRootPanel,HIObject,TranslateRect)
(this,ev,translateFrom,translateTo,sourceRect,translatedRect);
}
/* method: StateChanged */
void StateChanged(Environment *ev,
HIStateChangeCodeCreator selectorCreator,
HIStateChangeCode changedCode)
{
SOM_ResolveD(this,HIRootPanel,HIObject,StateChanged)
(this,ev,selectorCreator,changedCode);
}
/* method: SetClipboardSupportFlags */
void SetClipboardSupportFlags(Environment *ev,
HIClipboardSupportFlags flags)
{
SOM_ResolveD(this,HIRootPanel,HIObject,SetClipboardSupportFlags)
(this,ev,flags);
}
/* method: Verify */
OSStatus Verify(Environment *ev)
{
return SOM_ResolveD(this,HIRootPanel,HIObject,Verify)
(this,ev);
}
/* method: somInit */
void somInit()
{
SOM_ResolveD(this,HIRootPanel,SOMObject,somInit)
(this);
}
/* method: somUninit */
void somUninit()
{
SOM_ResolveD(this,HIRootPanel,SOMObject,somUninit)
(this);
}
/* method: somDuplicateReference */
SOMObject* somDuplicateReference()
{
return SOM_ResolveD(this,HIRootPanel,SOMObject,somDuplicateReference)
(this);
}
/* method: somCompareReference */
boolean somCompareReference(SOMObject* anObject)
{
return SOM_ResolveD(this,HIRootPanel,SOMObject,somCompareReference)
(this,anObject);
}
/* method: somRelease */
SOMObject* somRelease()
{
return SOM_ResolveD(this,HIRootPanel,SOMObject,somRelease)
(this);
}
/* method: somFree */
void somFree()
{
SOM_ResolveD(this,HIRootPanel,SOMObject,somFree)
(this);
}
/* method: somCanDelete */
boolean somCanDelete()
{
return SOM_ResolveD(this,HIRootPanel,SOMObject,somCanDelete)
(this);
}
/* method: somGetClass */
SOMClass* somGetClass()
{
return SOM_ResolveD(this,HIRootPanel,SOMObject,somGetClass)
(this);
}
/* method: somGetClassName */
corbastring somGetClassName()
{
return SOM_ResolveD(this,HIRootPanel,SOMObject,somGetClassName)
(this);
}
/* method: somGetSize */
long somGetSize()
{
return SOM_ResolveD(this,HIRootPanel,SOMObject,somGetSize)
(this);
}
/* method: somIsA */
boolean somIsA(SOMClass* aClassObj)
{
return SOM_ResolveD(this,HIRootPanel,SOMObject,somIsA)
(this,aClassObj);
}
/* method: somRespondsTo */
boolean somRespondsTo(somId mId)
{
return SOM_ResolveD(this,HIRootPanel,SOMObject,somRespondsTo)
(this,mId);
}
/* method: somIsInstanceOf */
boolean somIsInstanceOf(SOMClass* aClassObj)
{
return SOM_ResolveD(this,HIRootPanel,SOMObject,somIsInstanceOf)
(this,aClassObj);
}
/* va_list method: somDispatch */
/* the va_list invocation form */
boolean HIRootPanel_somDispatch(somToken* retValue,
somId methodId,
va_list ap)
{
return SOM_ResolveD(this,HIRootPanel,SOMObject,somDispatch)
(this,retValue,methodId,ap);
}
/* the varargs invocation form */
boolean somDispatch(somToken* retValue,
somId methodId,
...)
{
va_list ap;
va_start(ap, methodId);
boolean __somResult =
(boolean) SOM_ResolveD(this,HIRootPanel,SOMObject,somDispatch)
(this,retValue,methodId,ap);
va_end(ap);
return __somResult;
}
/* va_list method: somClassDispatch */
/* the va_list invocation form */
boolean HIRootPanel_somClassDispatch(SOMClass* clsObj,
somToken* retValue,
somId methodId,
va_list ap)
{
return SOM_ResolveD(this,HIRootPanel,SOMObject,somClassDispatch)
(this,clsObj,retValue,methodId,ap);
}
/* the varargs invocation form */
boolean somClassDispatch(SOMClass* clsObj,
somToken* retValue,
somId methodId,
...)
{
va_list ap;
va_start(ap, methodId);
boolean __somResult =
(boolean) SOM_ResolveD(this,HIRootPanel,SOMObject,somClassDispatch)
(this,clsObj,retValue,methodId,ap);
va_end(ap);
return __somResult;
}
/* method: somCastObj */
boolean somCastObj(SOMClass* cls)
{
return SOM_ResolveD(this,HIRootPanel,SOMObject,somCastObj)
(this,cls);
}
/* method: somResetObj */
boolean somResetObj()
{
return SOM_ResolveD(this,HIRootPanel,SOMObject,somResetObj)
(this);
}
/* method: somPrintSelf */
SOMObject* somPrintSelf()
{
return SOM_ResolveD(this,HIRootPanel,SOMObject,somPrintSelf)
(this);
}
/* method: somDumpSelf */
void somDumpSelf(long level)
{
SOM_ResolveD(this,HIRootPanel,SOMObject,somDumpSelf)
(this,level);
}
/* method: somDumpSelfInt */
void somDumpSelfInt(long level)
{
SOM_ResolveD(this,HIRootPanel,SOMObject,somDumpSelfInt)
(this,level);
}
}; /* HIRootPanel */
#endif /* SOM_HIRootPanel_xh */